package com.after.saas.common.model.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * <p>
 * 数据字典表
 * </p>
 *
 * @author hjchen
 * @since 2021-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CoreDictBO implements Serializable {
    private Integer lineNo;
    /**
     * 字典类型
     */
    @NotEmpty(message = "字典类型不能为空")
    @ExcelProperty("dict_type")
    private String dictType;

    /**
     * 备注信息
     */
    @ExcelProperty("remark")
    private String remark;

    @ApiModelProperty(value = "字典排序")
    @ExcelProperty(value = "dict_sort")
    private Integer dictSort;

    @ApiModelProperty(value = "字典标签")
    @ExcelProperty(value = "dict_abel")
    private String dictLabel;

    @ApiModelProperty(value = "字典键值")
    @ExcelProperty(value = "dict_value")
    private String dictValue;
}
